﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace API.Models
{
    public class User
    {
        [Required]
        [Range(10,50)]
        public string UserName { get; set; }
        public string Password { get; set; }
        public string Mobile { get; set; }
        public int Age { get; set; }

        public DateTime AddTime { get; set; }
    }
}